package learningThread.syn.synchronizedMethodLockObj.part1;


public class Thread2 extends Thread {

    private OperationObj operationObj;

    public Thread2(OperationObj obj){
        this.operationObj = obj;
    }

    @Override
    public void run() {
        operationObj.method("b");
    }
}
